package com.imooc.order.enums;

import lombok.Getter;

/**
 * @author steve
 * @date 2020/6/15 11:47
 * 商品状态枚举
 */
@Getter
public enum ProductStatusEnum {
    /**
     * 上架状态
     */
    UP(0, "上架"),

    /**
     * 下架状态
     */
    DOWN(1, "下架")
    ;

    private Integer code;
    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
